//
//  JFBMerchandiseCategoryDS.h
//  ios-supplier
//
//  Created by feynmanyuan on 15/4/16.
//  Copyright (c) 2015年 feynmanyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JFBMerchandiseCategoryDS : NSObject
//商品唯一的ID
@property (nonatomic, assign) NSUInteger categoryId;
// 商品名
@property (nonatomic, strong) NSString *categoryName;
// 分类下商品总数
@property (nonatomic, assign) NSUInteger total;
// 分类下上架商品数
@property (nonatomic, assign) NSUInteger shelvesNum;
//类目节点ID
@property (nonatomic, assign) NSUInteger categoryTreeNodeId;
//分类下已下架商品数
@property (nonatomic, assign) NSUInteger pullOffShelvesNum;

- (instancetype)initWithAttributes:(NSDictionary *)attributes;
+ (NSURLSessionDataTask *)loadMerchandiseCategoryList:(void (^)(NSArray *categoryList, NSError *error))block pager:(JFBPager*)pager;
@end
